package com.aracky.assess.model.entity;

import com.aracky.common.entitybase.BaseCommonEntity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 绩效考核文件表
 * </p>
 *
 * @author zzp
 * @since 2022-08-26 09:28:05
 */
@Getter
@Setter
@TableName("hr_kpi_file")
@ApiModel(value = "HrKpiFile对象", description = "绩效考核文件表")
public class HrKpiFile extends BaseCommonEntity {

    @ApiModelProperty("文件id")
    @TableId(value = "file_id", type = IdType.AUTO)
    private Long fileId;

    @ApiModelProperty("业务id")
    @TableField("business_id")
    private Long businessId;

    @ApiModelProperty("业务类型或者用途(0暂用指标)")
    @TableField("business_type")
    private String businessType;

    @ApiModelProperty("文件名称")
    @TableField("file_name")
    private String fileName;

    @ApiModelProperty("文件路径")
    @TableField("file_path")
    private String filePath;

    @ApiModelProperty("删除标志（1代表存在 0代表删除）")
    @TableField("del_flag")
    @TableLogic(delval = "0",value = "1")
    private String delFlag;


}
